package cn.mln521.aspectJ.demo1;

/**
 * 目标类
 */
public class ProductDao {

    public void save() {
        System.out.println("增加...");
    }
    public void update() {
        System.out.println("修改...");
    }
    public String update2() {
        System.out.println("修改2...");
        return "hello";
    }
    public void delete() {
        System.out.println("删除...");
    }
    public void findOne() {
        System.out.println("查询一个...");
//        int i = 1/0;
    }
    public void findAll() {
        System.out.println("查询所有...");
        int i = 1/0;
    }
}
